singleton:singleton.cpp
	g++ -std=c++11 $^ -o $@ -lpthread
threadpool:threadpool.cpp
	g++ -std=c++11 $^ -o $@ -lpthread
con_pro:con_pro.cpp
	g++ -std=c++11 $^ -o $@ -lpthread
pro_cus:pro_cus.cpp
	g++ -std=c++11 $^ -o $@ -lpthread
cond:cond.c
	gcc $^ -std=c99 -o $@ -lpthread
mutex:mutex.c
	gcc $^ -std=gnu99 -o $@ -lpthread
pthread:pthread.c
	gcc $^ -o $@ -lpthread
